package com.studyv3.test.domain.bo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.studyv3.common.annotation.Excel;
import lombok.Data;

@Data
@TableName("study_user_book")
public class StudyUserBookBo {
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "书籍编号", type = Excel.Type.IMPORT)
    private Long userId;

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id")
    @Excel(name = "书籍编号", type = Excel.Type.IMPORT)
    private Long bookId;
}
